package com.wudi.estate.service.communitymanagement;

import com.wudi.estate.bean.communitymanagement.Community;
import com.wudi.estate.bean.ownermanagement.Personnel;

import java.util.List;
import java.util.Map;

public interface CommunityService {
    //根据id查询小区信息
    Community selectById(Community c) throws Exception;
    //添加小区信息
    void insert(Community c) throws Exception;
    //根据Id修改小区信息
    void updateById(Community c) throws Exception;
    //查找全部小区
    List<Community> select() throws Exception;
    Community selectById(long id) throws Exception;
    //    查询总栋数和总户数
    List<Map<String, Object>> selectCommunityAndBuildsAndHouses();
    //删除信息
    void deleteById(long id);
}

